| Total Complexity | 22 |
| Dependencies | 4 |
| Dependents | 1 |
| Total lines | 198 |
| Lines of code | 103 |
| Logical lines of code | 54 |
| Comment lines | 72 |
| Methods | 14 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| sum_taxes() | 58 | 4 | 16 | |
| create_rate_and_apply_to_product_line_item() | 59 | 2 | 14 | |
| apply_tax_to_line_items() | 73 | 2 | 5 | |
| apply_tax_to_fees() | 72 | 2 | 5 | |
| apply_tax_to_shipping_items() | 74 | 2 | 5 | |
| apply_tax_to_shipping_item() | 66 | 2 | 8 | |
| __construct() | 81 | 1 | 3 | |
| remove_existing_tax() | 81 | 1 | 3 | |
| apply_new_tax() | 67 | 1 | 9 | |
| apply_fee_tax() | 64 | 1 | 10 | |
| apply_zero_tax_to_item() | 81 | 1 | 3 | |
| update_totals() | 71 | 1 | 5 | |
| get_order_total() | 68 | 1 | 7 | |
| get_cart_total_for_order() | 64 | 1 | 10 |